import os
from dataclasses import dataclass


@dataclass
class TestingEnvironment:
    MER_HOST = 'https://api.admin.merchant.java.crmeb.net'
    MER_USERNAME = '18292417675'
    MER_PASSWORD = '000000'

    USER_HOST = 'https://api.admin.merchant.java.crmeb.net'
    USER_USERNAME = 'admin'
    USER_PASSWORD = ''

    PLAT_HOST = 'https://api.admin.merchant.java.crmeb.net'
    PLAT_USERNAME = 'admin'
    PLAT_PASSWORD = ''

class DefaultEnvironment:
    pass

class ProductionEnvironment:
    pass

Env_MAPPING = {
    '测试环境': TestingEnvironment,
    '开发环境': DefaultEnvironment,
    '生产环境': ProductionEnvironment,
}

ENV = Env_MAPPING['测试环境']()

